﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Domain;

namespace NCP.Recruiting.Domain.Aggregates.Resumes
{
    public class SavedSearch : Entity
    {
        /// <summary>
        /// 搜索器名称
        /// </summary>
        public string SearchName { get; set; }
        /// <summary>
        /// 周期
        /// </summary>
        public int? Frequency { get; set; }
        /// <summary>
        /// 发送简历数
        /// </summary>
        public int? Talents { get; set; }
        /// <summary>
        /// 邮件地址
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 搜索条件集
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 是否订阅
        /// </summary>
        public bool IsSubscribed { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateCreated { get; set; }
        /// <summary>
        /// 上次使用
        /// </summary>
        public DateTime LastUpdated { get; set; }
        /// <summary>
        /// 最近一次使用搜索器进行搜索
        /// </summary>
        public DateTime? LastSearched { get; set; }
        /// <summary>
        /// 所属公司
        /// </summary>
        public Guid CompanyId { get; set; }
    }
}
